package com.ogawa.joypal.distributionnetwork

import com.ogawa.base.base.BaseResponseBean
import com.ogawa.joypal.distributionnetwork.bean.*
import retrofit2.http.*

interface MainApiService {
    /**
     * 按摩椅运行状态查询
     */
    @GET("/api/device-gw/v1/chair/status")
    suspend fun getDeviceStatus(
        @Query("param") params: String,
        @Query("isMac") isMac: Int
    ): BaseResponseBean<DeviceStatusBean>
    /**
     * 绑定设备
     */
    @PUT("/api/deviceService/v1/userDevices")
    suspend fun bindUserDevices(
        @Body request: BindUserDevicesRequest
    ): BaseResponseBean<BindUserDeviceResponse>


}